﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DatabaseManager.WinForms.Common;
using DatabaseManager.WinForms.Pages;

namespace DatabaseManager.WinForms
{
    public partial class MainForm2 : Form
    {
        public MainForm2()
        {
            InitializeComponent();

            Init();
        }

        private void Init()
        {
            //ModelGenPage page = new ModelGenPage();

            //this.Controls.Add(page);
            //page.Dock = DockStyle.Fill;
            //page.Show();

            string namespace_str = "DatabaseManager.WinForms.Pages";
            //PageLoaderHelper.ShowPageByClassName(this, "ModelGenPage", namespace_str);
            PageLoaderHelper.ShowPageByClassName(this, "ApplicationListPage", namespace_str);
        }
    }
}
